package com.andy.microservice.service1.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;



@FeignClient(name = "service1")
public interface FeignService {
    @GetMapping("/service1/consumer")
    public String suiYi();

}

/*@FeignClient(name = "service2")
public interface FeignService {
    @GetMapping("/provider/service2")
    public String suiYi2();

}*/


